package com.company.cloud.user;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import com.company.cloud.common.utils.MainUtils;
import com.company.common.api.wrap.annotation.EnableApiWrap;
import com.company.common.server.config.mq.constant.MQTopicKeys;
import com.company.common.server.config.mq.utils.SaasMqUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.core.env.Environment;
import org.springframework.jms.annotation.EnableJms;

@EnableHystrix
@EnableFeignClients(basePackages = { "com.company.cloud" })
@SpringBootApplication
@MapperScan(value = "com.company.**.**.modules.**.mapper")
@ComponentScan(basePackages = { "com.company" })
@EnableMethodCache(basePackages = "com.company.cloud")
@EnableCreateCacheAnnotation
@EnableApiWrap
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, MainUtils.args(args));
	}


	




}
